<#setting number_format="#.##"/>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>房源预选表</title>
    <style>
        body {
            font-family: SimSun, Arial Unicode MS, Lucida Sans Unicode, Arial, verdana, arial, helvetica, sans-serif;
        }

        .printContent {
            margin: 0px;
            padding: 0px;
            font-size: 16px;
        }

        .printContent p {
            margin: 0px;
            padding: 0px;
            text-align: left;
            text-indent: 2em;
            line-height: 24px;
            width: 95%;
            margin-left: 20px;
        }

        .printContent .printTitle {
            text-indent: 0em;
            font-size: 24px;
            text-align: center;
            font-weight: bold;
            height: 36px;
        }

        .border {
            text-align: center;
            padding-left: 10px;
            padding-right: 10px;
            border-bottom: 1px solid #000000;
        }

        .borderBlock200 {
            text-align: center;
            width: 200px;
            display: inline-block;
            border-bottom: 1px solid #000000;
        }

        .table_border_top_hidden {
            border-top: hidden;
        }

        .table_border_bottom_hidden {
            border-bottom: hidden;
        }

        table {
            margin: auto;
            width: 95%;
            border-collapse: collapse;
            border-top: 2px solid #000000;
            border-left: 2px solid #000000;
            border-right: 1px solid #000000;
            border-bottom: 1px solid #000000;
            -fs-table-paginate: paginate;
            border-spacing: 0;
        }

        th, td {
            border-right: 1px solid #000000;
            border-bottom: 1px solid #000000;
            font-size: 16px;
            margin-left: 5px;
            height: 30px;
            page-break-inside: avoid;
            text-align: center;
        }

        .paddingLeft {
            padding-left: 300px;
        }

        @page {
            margin: 5mm 10mm 0mm 10mm;
        }

        .pageBreak {
            page-break-before: always
        }
    </style>
</head>
<body>
<div class="printContent">
    <div class="printTitle">${strUtils.getNotNullText(contract.zsProject.printTableName)}</div>
    <div class="printTitle">选房签认表（住宅、车位）</div>
    <p style="text-align: right;">单位：元、平方米</p>
    <table class="table_border_bottom_hidden">
        <tr>
            <td colspan="2" style="width: 25%">被征收人</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.name)}</td>
            <td colspan="2">选房号</td>
            <td colspan="2">${strUtils.getNotNull(contract.chooseHouseNum)}</td>
        </tr>
        <tr>
            <td colspan="2" style="width: 25%">身份证号码</td>
            <td colspan="8" style="width: 25%">${strUtils.getNotNull(contract.idCard)}</td>
        </tr>
        <tr>
            <td colspan="2">图编号</td>
            <td colspan="2" style="word-wrap:break-word;"> </td>
            <td colspan="2" style="width: 25%">协议编号</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.contractCode)}</td>
        </tr>
    </table>
</div>
    <table class="table_border_top_hidden table_border_bottom_hidden">
        <tr>
            <td colspan="4">一、安置房预定情况</td>
        </tr>
        <tr>
            <td style="width: 25%;" colspan="2">预定户型、车位</td>
            <td style="width: 25%;" colspan="2">套、个</td>
        </tr>
    <tr>
        <td colspan="2">置换车位</td>
        <td colspan="2">${bigUtils.getNotNullStr(contract.carLotNum)}</td>
    </tr>
    <tr>
        <td colspan="2">XXXX</td>
        <td colspan="2">${bigUtils.getNotNullStr(contract.houseNum)}</td>
    </tr>
    </table>
    <table class="table_border_top_hidden table_border_bottom_hidden">
        <tr>
            <td colspan="4">二、选择产权调换面积</td>
        </tr>
        <tr>
            <td colspan="2" rowspan="2">选择产权调换面积</td>
            <td style="width: 25%;" colspan="2">${bigUtils.getNotNullStr(contract.limitHouseAreaTotal)}</td>
        </tr>
        <tr>
            <td style="width: 25%;">其中:照顾购买面积</td>
            <td style="width: 25%;">${bigUtils.getNotNullStr(contract.careAreaTotal)}</td>

        </tr>

    </table>
<table class="table_border_top_hidden table_border_bottom_hidden">
    <tr>
        <td colspan="6">三、安置房状况明细</td>
    </tr>
    <tr>
        <td width="8%">序号</td>
        <td width="12%">房屋用途</td>
        <td width="12%">房屋户型</td>
        <td width="20%">所在小区</td>
        <td width="20%">户号（编号）</td>
        <td width="28%">建筑面积、置换车位面积</td>
<!--        <td width="12%">分摊面积</td>-->
    </tr>
    <#assign index = 0/>
    <#if houseList??>
    <#list houseList as house>
    <#assign index =index+ 1/>
    <tr>
        <td>${intUtils.getNotNullStr(index)}</td>
        <td>住宅</td>
        <td>${(houseTypeMap[house.houseType].name)!}</td>
        <td>${strUtils.getNotNull(house.azProject.projectName)}</td>
        <td>${house.houseNumStr}</td>
        <td>${bigUtils.getNotNullStr(house.buildArea)}</td>
<!--        <td>${bigUtils.getNotNullStr(house.poolArea)}</td>-->
    </tr>
</#list>
</#if>
<#if carLotList??>
<#list carLotList as carLot>
<#assign index =index+ 1/>
<tr>
    <td>${intUtils.getNotNullStr(index)}</td>
    <td>车位</td>
    <td>${(carLotTypeMap[carLot.carLotType?c].name)}</td>
    <td>${strUtils.getNotNull(carLot.azProject.projectName)}</td>
    <td>${carLot.houseNumStr}</td>
    <td>${bigUtils.getNotNullStr(carLot.buildArea)}</td>
<!--    <td></td>-->
</tr>
<!--<tr>-->
<!--    <td style="width: 25%;" colspan="5">安置面积合计（含置换车位面积）</td>-->
<!--    <td style="width: 25%;" colspan="1">${bigUtils.getNotNullStr(contract.sumAzAreaTotal)}</td>-->
<!--</tr>-->
</#list>
</#if>
</table>

<table class="table_border_top_hidden table_border_bottom_hidden">
    <tr>
        <td style="width: 72%" colspan="4">安置面积合计（含置换车位面积）</td>
        <td style="width: 28%" colspan="2">${bigUtils.getNotNullStr(contract.sumAzAreaTotal)}</td>
    </tr>
</table>
<p>被征收人声明：以上所选安置房是本人真实意思表示，本人予以确认。在此，本人郑重承 诺：按照以上所确定的安置房在选房当日与征收人签订安置协议书，并按期缴清应补差价款； 否则，征收人有权对所选安置房进行处置并取消本人选房号，本人服从征收人在正常选房工作 结束后，另行统一组织调配安置。</p>

<#if contract.memo ?? && contract.memo !="">
<p style="text-indent: 0em;font-size: 14px">注:${strUtils.getNotNull(contract.memo)}</p>
</#if>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 20px">被征收人：&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;选房工作组：</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 40px">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
    &#160;年&#160;月&#160;日
</p>


<#if shopHouseList?? && (shopHouseList?size > 0) >
<div style="page-break-after: always;"></div>
<div class="printContent">
    <div class="printTitle" style="margin-top: 20px">${strUtils.getNotNullText(contract.zsProject.printTableName)}
    </div>
    <div class="printTitle">选房签认表（商业用房）</div>
    <p style="text-align: right;">单位：元、平方米</p>
    <table class="table_border_bottom_hidden">
        <tr>
            <td colspan="2" style="width: 25%">被征收人</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.name)}</td>
            <td colspan="2">选房号</td>
            <td colspan="2">${strUtils.getNotNull(contract.chooseHouseNum)}</td>
        </tr>
        <tr>
            <td colspan="2" style="width: 25%">身份证号码</td>
            <td colspan="8" style="width: 25%">${strUtils.getNotNull(contract.idCard)}</td>
        </tr>
        <tr>
            <td colspan="2">图编号</td>
            <td colspan="2" style="word-wrap:break-word;"> </td>
            <td colspan="2" style="width: 25%">协议编号</td>
            <td colspan="2" style="width: 25%">${strUtils.getNotNull(contract.contractCode)}</td>
        </tr>
    </table>
</div>
<table class="table_border_top_hidden">
    <tr>
        <td colspan="4">一、商业用房预定情况</td>
    </tr>
    <tr>
        <td width="25%">房屋用途</td>
        <td width="20%">间数</td>
        <td width="30%">产权调换面积</td>
        <td width="25%">路段</td>
    </tr>
    <tr>
        <td width="25%">商业店面（住改商）</td>
        <td width="20%"> </td>
        <td width="30%">${bigUtils.getNotNullStr(contract.limitHouseAreaTotal)}</td>
        <td width="25%"> </td>
    </tr>
    <tr>
        <td width="25%">二层商业（写字楼）</td>
        <td width="20%"> </td>
        <td width="30%">${bigUtils.getNotNullStr(contract.limitHouseAreaTotal)}</td>
        <td width="25%"> </td>
    </tr>
    <tr>
        <td width="25%">一层商场（经营场所）</td>
        <td width="20%"> </td>
        <td width="30%">${bigUtils.getNotNullStr(contract.limitHouseAreaTotal)}</td>
        <td width="25%"> </td>
    </tr>
</table>

<table class="table_border_top_hidden">
    <tr>
        <td colspan="6">2、商业用房预定情况</td>
    </tr>
    <tr>
        <td width="10%">序号</td>
        <td width="15%">房屋用途</td>
        <td width="15%">所在层次</td>
        <td width="20%">安置路段</td>
        <td width="20%">户号（编号）</td>
        <td width="20%">建筑面积</td>
    </tr>
    <!--        <#assign index = 0/>-->
    <!--        <#if shopHouseList??>-->
    <!--        <#list shopHouseList as shopHouse>-->
    <!--        <#assign index =index+ 1/>-->
    <tr>
        <td>${intUtils.getNotNullStr(index)}</td>
        <td>${strUtils.getNotNull(shopHouse.azProject.projectName)}</td>
        <td>${shopHouse.floor}</td>
        <td>  </td>
        <td>${shopHouse.houseNumStr}</td>
        <td>${bigUtils.getNotNullStr(shopHouse.buildArea)}</td>
    </tr>
</#list>
</#if>
</table>
<p>
    被征收人声明：以上所选安置房是本人真实意思表示，本人予以确认。在此，本人郑重承 诺：按照以上所确定的安置房（商业）在选房当日与征收人签订安置协议书，并按期缴清应补差价款； 否则，征收人有权对所选安置房（商业）进行处置并取消本人选房号，本人服从征收人在正常选房工作结束后，另行统一组织调配安置。</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 20px">被征收人：&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;选房工作组：</p>
<p style="font-size: 18px;  text-indent: 0em;margin-top: 40px">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
    <#if contract.chooseHouseDate ?? >
    ${contract.chooseHouseDate?string["yyyy年MM月dd日"]}
    <#else/>
    ${.now?string["yyyy年MM月dd日"]}
</#if>
</p>
<!--</div>-->
</#if>


</body>
</html>